package com.shop.dao;

import com.shop.pojo.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface UserInfoMapper {
    int deleteByPrimaryKey(String infoId);

    int insert(UserInfo record);

    UserInfo selectByPrimaryKey(String infoId);

    List<UserInfo> selectAll();

    int updateByPrimaryKey(UserInfo record);

    List<UserInfo> queryUserInfoByCondition(Map<String,Object> params);
}